import request from '@/utils/request'
export  class userApi{
  static  login(loginParams: any) {
    return request.post(`/plate/login`, loginParams);
  }
  static  register(registerParams: any) {
    return request.post(`/plate/user/save`, registerParams);
  }
  static  reqGetUserInfo(){
    return request.get('/plate/userInfo')
  }
  static   loginOut(){
    return request.post('/plate/logout')
  }
}